package cn.beatuty.makeup.module.system.controller.admin.shoppingcart.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.util.*;

@Schema(description = "管理后台 - 购物车新增/修改 Request VO")
@Data
public class ShoppingCartSaveReqVO {

    @Schema(description = "购物车项的唯一标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "4314")
    private Long id;

    @Schema(description = "商品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    private String productName;

    @Schema(description = "商品图片")
    private String productImage;

    @Schema(description = "商品规格")
    private String productSpecification;

    @Schema(description = "商品数量", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer quantity;

    @Schema(description = "商品价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "5942")
    private String price;

    @Schema(description = "支付状态，1待支付、2已支付或3已取消", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private String paymentStatus;

    private Long productId;

    private String cartCode;

    private LocalDateTime createTime;

}